from simpy import Environment, Resource

from x_pc.core.transport import Transport


class AGVBY(Transport):
    """
    403 AGV搬运
    AGV搬运(AGVBY)
    """
    # 小车资源
    resource: Resource = None

    def __init__(self, env: Environment, name: str, kwargs):
        super().__init__(env, name, kwargs)
        self.resource = Resource(env)

    @staticmethod
    def device_type() -> int:
        return 403
